package router

import (
	"github.com/gin-gonic/gin"
	"monthly-test/internal/api"
)

func VideoRouter(r *gin.RouterGroup) {
	video := r.Group("video")
	{
		video.GET("/list", api.List)
		video.GET("/show", api.VideoShow)
		video.POST("/likes", api.Likes)
		video.GET("/likesList", api.LikesList)
		video.DELETE("/del", api.DelLikes)
		video.GET("videoList", api.VideoList)
	}
}
